.class public Lcom/fiberhome/gaea/client/base/ExmobiApp;
.super Landroid/app/Application;


# static fields
.field public static a:Lcom/fiberhome/gaea/client/base/ExmobiApp;

.field public static b:Z

.field public static c:Z

.field public static h:I

.field public static i:Z

.field public static j:Z

.field public static k:Z


# instance fields
.field public final d:Ljava/lang/String;

.field public e:Lcom/waiqin365/base/print/b;

.field public f:Landroid/os/Handler;

.field public g:Ljava/util/ArrayList;

.field l:Landroid/app/Application$ActivityLifecycleCallbacks;

.field private m:Ljava/lang/String;

.field private n:Ljava/lang/String;

.field private o:Ljava/util/List;

.field private p:Z


# direct methods
.method static constructor <clinit>()V
    .locals 2

    const/4 v1, 0x0

    sput-boolean v1, Lcom/fiberhome/gaea/client/base/ExmobiApp;->c:Z

    sput v1, Lcom/fiberhome/gaea/client/base/ExmobiApp;->h:I

    sput-boolean v1, Lcom/fiberhome/gaea/client/base/ExmobiApp;->i:Z

    const/4 v0, 0x1

    sput-boolean v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->j:Z

    sput-boolean v1, Lcom/fiberhome/gaea/client/base/ExmobiApp;->k:Z

    return-void
.end method

.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Landroid/app/Application;-><init>()V

    const-string/jumbo v0, "username"

    iput-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->d:Ljava/lang/String;

    iput-object v1, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->m:Ljava/lang/String;

    iput-object v1, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->e:Lcom/waiqin365/base/print/b;

    iput-object v1, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->f:Landroid/os/Handler;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->n:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->o:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->g:Ljava/util/ArrayList;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->p:Z

    new-instance v0, Lcom/fiberhome/gaea/client/base/c;

    invoke-direct {v0, p0}, Lcom/fiberhome/gaea/client/base/c;-><init>(Lcom/fiberhome/gaea/client/base/ExmobiApp;)V

    iput-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->l:Landroid/app/Application$ActivityLifecycleCallbacks;

    return-void
.end method

.method private a(I)Ljava/lang/String;
    .locals 6

    const/4 v1, 0x0

    const-string/jumbo v0, "activity"

    invoke-virtual {p0, v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/ActivityManager;

    invoke-virtual {v0}, Landroid/app/ActivityManager;->getRunningAppProcesses()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    invoke-virtual {p0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v3

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/ActivityManager$RunningAppProcessInfo;

    check-cast v0, Landroid/app/ActivityManager$RunningAppProcessInfo;

    :try_start_0
    iget v4, v0, Landroid/app/ActivityManager$RunningAppProcessInfo;->pid:I

    if-ne v4, p1, :cond_0

    iget-object v4, v0, Landroid/app/ActivityManager$RunningAppProcessInfo;->processName:Ljava/lang/String;

    const/16 v5, 0x80

    invoke-virtual {v3, v4, v5}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/content/pm/PackageManager;->getApplicationLabel(Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;

    iget-object v0, v0, Landroid/app/ActivityManager$RunningAppProcessInfo;->processName:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_1
    return-object v0

    :cond_1
    move-object v0, v1

    goto :goto_1

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method static synthetic a(Lcom/fiberhome/gaea/client/base/ExmobiApp;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->n:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic a(Lcom/fiberhome/gaea/client/base/ExmobiApp;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->p:Z

    return p1
.end method

.method public static b()Lcom/fiberhome/gaea/client/base/ExmobiApp;
    .locals 1

    sget-object v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->a:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    return-object v0
.end method

.method static synthetic b(Lcom/fiberhome/gaea/client/base/ExmobiApp;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->p:Z

    return v0
.end method


# virtual methods
.method public a()V
    .locals 1

    invoke-virtual {p0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/baidu/mapapi/SDKInitializer;->initialize(Landroid/content/Context;)V

    return-void
.end method

.method public a(Lcom/fiberhome/gaea/client/base/e;)V
    .locals 3

    sget-object v0, Lcom/fiberhome/gaea/client/base/d;->a:[I

    invoke-virtual {p1}, Lcom/fiberhome/gaea/client/base/e;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->o:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    sget-object v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->a:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    invoke-static {v0}, Lcom/ryg/dynamicload/internal/DLPluginManager;->getInstance(Landroid/content/Context;)Lcom/ryg/dynamicload/internal/DLPluginManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->n:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "/WqScanPlugin20160831.apk"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/ryg/dynamicload/internal/DLPluginManager;->loadApk(Ljava/lang/String;)Lcom/ryg/dynamicload/internal/DLPluginPackage;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->o:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :pswitch_1
    iget-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->o:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    sget-object v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->a:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    invoke-static {v0}, Lcom/ryg/dynamicload/internal/DLPluginManager;->getInstance(Landroid/content/Context;)Lcom/ryg/dynamicload/internal/DLPluginManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->n:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "/WqVoicePlugin20160831.apk"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/ryg/dynamicload/internal/DLPluginManager;->loadApk(Ljava/lang/String;)Lcom/ryg/dynamicload/internal/DLPluginPackage;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->o:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public a(Ljava/lang/String;)Z
    .locals 3

    const/4 v1, 0x0

    invoke-static {p1}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    move v0, v1

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x1

    goto :goto_0

    :cond_2
    move v0, v1

    goto :goto_0
.end method

.method public b(Lcom/fiberhome/gaea/client/base/e;)Lcom/ryg/dynamicload/internal/DLIntent;
    .locals 4

    sget-object v0, Lcom/fiberhome/gaea/client/base/d;->a:[I

    invoke-virtual {p1}, Lcom/fiberhome/gaea/client/base/e;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :pswitch_0
    new-instance v0, Lcom/ryg/dynamicload/internal/DLIntent;

    const-string/jumbo v1, "com.waiqin365.plugin"

    const-string/jumbo v2, "com.waiqin365.plugin.qr.WqCaptureActivity"

    invoke-direct {v0, v1, v2}, Lcom/ryg/dynamicload/internal/DLIntent;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v1, "cameraErrorTips"

    invoke-virtual {p0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f08005a

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/ryg/dynamicload/internal/DLIntent;->putExtra(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;

    const-string/jumbo v1, "ok"

    invoke-virtual {p0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0805d4

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/ryg/dynamicload/internal/DLIntent;->putExtra(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;

    goto :goto_0

    :pswitch_1
    new-instance v0, Lcom/ryg/dynamicload/internal/DLIntent;

    const-string/jumbo v1, "com.waiqin365.plugin.voice"

    const-string/jumbo v2, "com.waiqin365.plugin.voice.MainActivity"

    invoke-direct {v0, v1, v2}, Lcom/ryg/dynamicload/internal/DLIntent;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v1, "voiceErrorTips"

    invoke-virtual {p0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f08085b

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/ryg/dynamicload/internal/DLIntent;->putExtra(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public b(Ljava/lang/String;)V
    .locals 1

    if-eqz p1, :cond_0

    const-string/jumbo v0, "username"

    invoke-static {p0, v0, p1}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    iput-object p1, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->m:Ljava/lang/String;

    :cond_0
    return-void
.end method

.method public c()Ljava/lang/String;
    .locals 2

    iget-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->m:Ljava/lang/String;

    if-nez v0, :cond_0

    const-string/jumbo v0, "username"

    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->m:Ljava/lang/String;

    :cond_0
    iget-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->m:Ljava/lang/String;

    return-object v0
.end method

.method public logout()V
    .locals 2

    sget-boolean v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b:Z

    if-eqz v0, :cond_0

    :try_start_0
    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMClient;->logout(Z)I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    const/4 v0, 0x0

    sput-boolean v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b:Z

    :cond_0
    sget-object v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->a:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/utils/d;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/utils/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/utils/d;->a()V

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/p;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/p;->n()V

    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public onCreate()V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    invoke-super {p0}, Landroid/app/Application;->onCreate()V

    sput-object p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->a:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    iget-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->l:Landroid/app/Application$ActivityLifecycleCallbacks;

    invoke-virtual {p0, v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->registerActivityLifecycleCallbacks(Landroid/app/Application$ActivityLifecycleCallbacks;)V

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getFilesDir()Ljava/io/File;

    move-result-object v1

    invoke-virtual {v1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/app_plugin"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->n:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->a()V

    invoke-static {p0}, Lcom/waiqin365/base/login/d/g;->g(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const-string/jumbo v1, "900042377"

    invoke-static {v0, v1, v3}, Lcom/tencent/bugly/crashreport/CrashReport;->initCrashReport(Landroid/content/Context;Ljava/lang/String;Z)V

    :goto_0
    invoke-static {}, Landroid/os/Process;->myPid()I

    move-result v0

    invoke-direct {p0, v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->a(I)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_0
    :goto_1
    return-void

    :cond_1
    invoke-virtual {p0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const-string/jumbo v1, "67bd273cf9"

    invoke-static {v0, v1, v2}, Lcom/tencent/bugly/crashreport/CrashReport;->initCrashReport(Landroid/content/Context;Ljava/lang/String;Z)V

    goto :goto_0

    :cond_2
    new-instance v0, Lcom/hyphenate/chat/EMOptions;

    invoke-direct {v0}, Lcom/hyphenate/chat/EMOptions;-><init>()V

    invoke-virtual {v0, v2}, Lcom/hyphenate/chat/EMOptions;->setAcceptInvitationAlways(Z)V

    invoke-virtual {v0, v3}, Lcom/hyphenate/chat/EMOptions;->setRequireAck(Z)V

    invoke-virtual {v0, v2}, Lcom/hyphenate/chat/EMOptions;->setRequireDeliveryAck(Z)V

    invoke-virtual {v0, v3}, Lcom/hyphenate/chat/EMOptions;->setAutoAcceptGroupInvitation(Z)V

    invoke-virtual {v0, v2}, Lcom/hyphenate/chat/EMOptions;->setAutoLogin(Z)V

    :try_start_0
    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v1

    sget-object v2, Lcom/fiberhome/gaea/client/base/ExmobiApp;->a:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    invoke-virtual {v1, v2, v0}, Lcom/hyphenate/chat/EMClient;->init(Landroid/content/Context;Lcom/hyphenate/chat/EMOptions;)V

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMClient;->setDebugMode(Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_2
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/fiberhome/gaea/client/base/b;

    invoke-direct {v1, p0}, Lcom/fiberhome/gaea/client/base/b;-><init>(Lcom/fiberhome/gaea/client/base/ExmobiApp;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/e;->a(Landroid/content/Context;)Z

    move-result v0

    sput-boolean v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->j:Z

    goto :goto_1

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_2
.end method

.method public onTerminate()V
    .locals 0

    invoke-super {p0}, Landroid/app/Application;->onTerminate()V

    return-void
.end method
